package com.heu.blood.storge.exception;

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

public enum BloodOutStorageException implements BaseErrorInfoInterface {
    ALREADY_OUT_STORAGE("2200","该袋血液已出库");
    BloodOutStorageException(String resultCode,String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }
}
